<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../../inc/global.jsp" 
%><compress:html enabled="true" removeComments="false" compressJavaScript="true" yuiJsDisableOptimizations="true">
<!doctype html>
<html>
<head>
<title>${adminGlobalConfig.name}</title>
<%@include file="../head.jsp" %>
<style type="text/css">
.pagination {margin:0px;}
</style>
</head>
<body>
<div class="wrapper">
<%@include file="../header.jsp" %>
<div class="body">
<div class="list">
<table>
<thead>
<tr>
<th class="brand"><fmt:message key="message.brand.name" /></th>
<th class="category"><fmt:message key="message.category.name" /></th>
<th class="type">
<fmt:message key="message.goods.name" />
<c:forEach var="prop" items="${props}">
/ ${prop.name}
</c:forEach>
</th>
<th><fmt:message key="message.goods.displayName" /></th>
<th><fmt:message key="message.goods.price" /></th>
<th>入库时间</th>
<th>修改</th>
</tr>
</thead>
<tbody>
<c:forEach var="item" items="${goodsVOList}" varStatus="s">
<tr>
<c:choose>
<c:when test="${(s.index % 2) != 0}">
<tr class="trbg">
</c:when>
<c:otherwise>
</tr>
</c:otherwise>
</c:choose>
<td><a href="/a/store/list?bid=${item.brandId}">${item.brandName}</a></td>
<td><a href="/a/store/list?cid=${item.categoryId}">${item.categoryName}</a></td>
<td>
<a href="/a/batch/list?gid=${item.id}">${item.name}</a>
<c:forEach var="value" items="${item.propValues}"> / ${value.propValueName}</c:forEach>
</td>
<td>${item.displayName}</td>
<td>${item.price}</td>
<td><fmt:formatDate pattern="yy-MM-dd hh:mm:ss" value="${item.recentlyUpdate}" /></td>
<td><a href="./form?id=${item.id}&backURL=${backURL}">修改</a></td>
</tr>
</c:forEach>
</tbody>
</table>
${pagination}
</div>
<div class="sidebarMenu">
<ul>
<li><a href="/a/goods/form">新增商品型号</a></li>
</ul>
</div>
<%@ include file="sidebar.jsp" %>
<!--  -->
</div>
</div>
</body>
</html>
</compress:html>